package com.mingqijia.gassafety.webserver.response;

import com.mingqijia.gassafety.db.entity.RunningStrategyExt;
import com.mingqijia.gassafety.webserver.request.RunningStrategyExtRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class RunningStrategyDetailRes {

    //备注说明
    @ApiModelProperty(value = "备注说明")
    private String remark;

    @ApiModelProperty(value = "规则名称")
    private String ruleName;

    //策略对象：0所有客户 1按照行业选择 2按照客户选择
    @ApiModelProperty(value = "策略对象：0所有客户 1按照行业选择 2按照客户选择")
    private Integer strategyObj;

    @ApiModelProperty(value = "规则类型：0设备故障 1设备离线 3设备运行报告 4服务到期提醒")
    private Integer strategyType;
    //行业或者客户数据：;号隔开
    @ApiModelProperty(value = "客户id/行业编码")
    private String strategyObjValues;

    @ApiModelProperty(value = "额外的策略数据")
    private List<RunningStrategyExtRequest> extData;

    @ApiModelProperty(value = "短信推送模板CODE，可以为空，为空取默认")
    private String smsMsgCode;

    @ApiModelProperty(value = "短信推送模板内容")
    private String smsMsgCodeContent;

    @ApiModelProperty(value = "微信推送模板CODE，可以为空，为空取默认")
    private String wxMsgCode;

    @ApiModelProperty(value = "微信推送模板内容")
    private String wxMsgCodeContent;
}
